package cn.senjoeson.triper.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

@Entity
public class PlaceBean {
    @Id
    private long id;        //地点的索引
    private long planid;   //*需要指定当前planid
    private long dayid;     //可以将其加入指定的天的id
    private String time;    //开始时间
    private String placeName;  //地点名称
    private String imageUrl;//地点预览图
    private double stayTime;//停留时间
    private double star;//评分
    private boolean flag;       //根据该flag判断是否是默认的吃饭,去回的时间

    @Generated(hash = 462901609)
    public PlaceBean(long id, long planid, long dayid, String time,
            String placeName, String imageUrl, double stayTime, double star,
            boolean flag) {
        this.id = id;
        this.planid = planid;
        this.dayid = dayid;
        this.time = time;
        this.placeName = placeName;
        this.imageUrl = imageUrl;
        this.stayTime = stayTime;
        this.star = star;
        this.flag = flag;
    }

    @Generated(hash = 1530304682)
    public PlaceBean() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getDayid() {
        return this.dayid;
    }

    public void setDayid(long dayid) {
        this.dayid = dayid;
    }

    public String getTime() {
        return this.time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getPlaceName() {
        return this.placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getImageUrl() {
        return this.imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public double getStayTime() {
        return this.stayTime;
    }

    public void setStayTime(double stayTime) {
        this.stayTime = stayTime;
    }

    public double getStar() {
        return this.star;
    }

    public void setStar(double star) {
        this.star = star;
    }

    public boolean getFlag() {
        return this.flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public long getPlanid() {
        return this.planid;
    }

    public void setPlanid(long planid) {
        this.planid = planid;
    }


}
